//
//  ShopFooterView.m
//  FreeTrip
//
//  Created by 352324497@qq.com on 15/11/25.
//  Copyright © 2015年 邓芮. All rights reserved.
//

#import "ShopFooterView.h"

@implementation ShopFooterView

-(instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self)
    {
        self.footerButton = [UIButton buttonWithType:(UIButtonTypeSystem)];
        self.footerButton.frame = CGRectMake(10 * KScreenWidth / 375, 5 * KScreenWidth / 375, (KScreenWidth - 20 * KScreenWidth / 375), 30 * KScreenWidth / 375);
        self.footerButton.layer.borderColor = [UIColor lightGrayColor].CGColor;
        self.footerButton.layer.borderWidth = 0.5;
        [self.footerButton setTitle:@"查看全部商品" forState:(UIControlStateNormal)];
        [self.footerButton setTitleColor:[UIColor blackColor] forState:(UIControlStateNormal)];
        [self.contentView addSubview:_footerButton];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
